﻿using Fur;
using Fur.DatabaseAccessor;
using Microsoft.Extensions.DependencyInjection;

namespace China.Database.Manager
{
    public class DatabaseStartup : AppStartup
    {
        public void Luanxie(IServiceCollection services)
        {
            services.AddDatabaseAccessor(options =>
            {
                options.AddDb<RBACDbContext>(DbProvider.Sqlite);
            }, "China.Database.Migrations");
        }
    }
}
